package com.delu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site")
@ApiModel(value="Site对象", description="")
public class Site implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "站点id")
    @TableId(value = "site_id", type = IdType.AUTO)
    private Long siteId;

    @ApiModelProperty(value = "站点名称")
    @TableField("site_name")
    private String siteName;

    @ApiModelProperty(value = "联系电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "站点地址")
    @TableField("addr")
    private String addr;

    @ApiModelProperty(value = "负责人")
    @TableField("reciver")
    private String reciver;

    @ApiModelProperty(value = "营业时间")
    @TableField("business_hour")
    private LocalDate businessHour;

    @ApiModelProperty(value = "站点图片")
    @TableField("site_img")
    private String siteImg;

    @ApiModelProperty(value = "区号")
    @TableField("area_id")
    private Integer areaId;


}
